home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CMARS.ZIP / MAKEFILE < prev    next >
Text File  |  1995-07-14  |  1KB  |  117 lines

  1. .AUTODEPEND
  2. #
  3. # Notice this makefile has full debug turned on
  4. #
  5. #               *Local definitions
  6.  
  7. #        *Translator Definitions*
  8. CC = bcc +cmars.cfg
  9. TASM = TASM /zi /ml /i$(INCLUDEPATH)
  10. TLIB = tlib
  11. TLINK = tlink
  12. LIBPATH = C:\bc45\LIB
  13. INCLUDEPATH = C:\bc45\INCLUDE
  14.  
  15.  
  16. #        *Implicit Rules*
  17. .asm.obj:
  18.   $(TASM) {$< }
  19.  
  20. .c.obj:
  21.   $(CC) -c {$< }
  22.  
  23. .cpp.obj:
  24.   $(CC) -c {$< }
  25.  
  26. #        *List Macros*
  27. EXE_dependencies =  \
  28. cmars.obj \
  29. sintab.obj \
  30. camars.obj
  31. #        *Explicit Rules*
  32. all: cmars.exe
  33.  
  34. sin.exe: cmars.cfg sin.c
  35.     $(CC) sin.c
  36.  
  37. cmars.exe: cmars.cfg $(EXE_dependencies)
  38.   $(TLINK) /v/s/L$(LIBPATH) @&&|
  39. c0l.obj+
  40. camars.obj+
  41. sintab.obj+
  42. cmars.obj
  43. cmars.exe
  44.     #NO map file
  45. emu.lib+
  46. mathl.lib+
  47. cl.lib
  48. |
  49.  
  50. clean:
  51.     del *.obj
  52.     del *.bak
  53.     del *.map
  54.     del *.cfg
  55.     del *.td
  56.     del *.tr
  57.  
  58. #        *Individual File Dependencies*
  59. sintab.asm: sin.exe
  60.     sin
  61.  
  62.  
  63. camars.obj: camars.asm
  64.     $(TASM) camars.asm
  65.  
  66. cmars.obj: cmars.cfg cmars.c
  67.     $(CC) -c cmars.c
  68.  
  69. sintab.obj: sintab.asm
  70.     $(TASM) sintab.asm
  71.  
  72. #        *Compiler Configuration File*
  73. cmars.cfg: makefile
  74.   copy &&|
  75. -ml
  76. -v
  77. -G
  78. -O
  79. -Og
  80. -Oe
  81. -Om
  82. -Ov
  83. -Ol
  84. -Ob
  85. -Op
  86. -Oi
  87. -Z
  88. -vi
  89. -w-ret
  90. -w-nci
  91. -w-inl
  92. -wpin
  93. -wamb
  94. -wamp
  95. -w-par
  96. -wasm
  97. -wcln
  98. -w-cpt
  99. -wdef
  100. -w-dup
  101. -w-pia
  102. -wsig
  103. -wnod
  104. -w-ill
  105. -w-sus
  106. -wstv
  107. -wucp
  108. -wuse
  109. -w-ext
  110. -w-ias
  111. -w-ibc
  112. -w-pre
  113. -w-nst
  114. -w-pro
  115. -I$(INCLUDEPATH)
  116. -L$(LIBPATH)
  117. | cmars.cfg